package com.atguigu.gmall.payment.service;

public interface AlipayService {

    //生成二维码
    String createAliPay(Long orderId);

    //退款
    boolean refund(Long orderId);

    //关闭支付宝内部交易记录
    Boolean closePay(Long orderId);

    /**
     * 根据订单查询是否支付成功！
     * @param orderId
     * @return
     */
    Boolean checkPayment(Long orderId);

}
